package com.suyx.job.service.impl;


import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.suyx.job.dao.LuaColorInfoRepository;
import com.suyx.job.entity.LuaColorInfo;
import com.suyx.job.entity.TaskInfo;
import com.suyx.job.service.ILuaColorInfoService;
import com.suyx.job.service.base.impl.MyServiceImpl;

import lombok.extern.slf4j.Slf4j;

/**
 * @Auther: lanyanhua
 * @Date: 2018/10/18 0018 11:50
 * @Description:
 */
@Slf4j
@Service
public class LuaColorInfoServiceImpl extends MyServiceImpl<LuaColorInfo,Integer> implements ILuaColorInfoService {
	
	private LuaColorInfoRepository luaColorInfoRepository;

    @Autowired
    public LuaColorInfoServiceImpl(LuaColorInfoRepository repository) {
        super(repository);
        this.luaColorInfoRepository = repository;
    }

	@Override
	public LuaColorInfo findByWpName(String wpName) {
		return luaColorInfoRepository.findByWpName(wpName);
	}	
}
